package com.zjhn.ds.common;

public enum ResultEnum {

    SUCCESS("00", "SUCCESS"),
    FAILED("99", "FAILED");

    /**
     * code
     */
    private String code;

    /**
     * msg
     */
    private String msg;

    ResultEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    /**
     * 获取code
     * @return
     */
    public String getCode() {
        return code;
    }

    /**
     * 设置code
     * @param code
     */
    public void setCode(String code) {
        this.code = code;
    }

    /**
     * 获取msg
     * @return
     */
    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
